home *** CD-ROM | disk | FTP | other *** search
- #ifndef __TEUTILITIES__
- #define __TEUTILITIES__
-
- #ifndef __TEXTEDIT__
- #include "TextEdit.h"
- #endif
-
- #ifndef __CONTROLS__
- #include "Controls.h"
- #endif
-
- /*
- // Prototypes from 'TEUtilities.c'
- */
- void TEGetSelect( short* selStart, short* selEnd, TEHandle te );
- void TEGetChars( char* buf, short from, short to, TEHandle te );
- void GetTEView( TEHandle te, Rect* viewRect );
- short TELines( TEHandle te );
- short TEHeight( TEHandle te );
- short GetTEVScroll( TEHandle te );
- short ViewHeight( TEHandle te );
- short VScrollLocation( TEHandle te );
- void PinnedTEVScroll( TEHandle te, ControlHandle scrollbar, short dv );
- void ScrollTELine( TEHandle te, ControlHandle scrollbar, short dir );
- void ScrollTEPage( TEHandle te, ControlHandle scrollbar, short dir );
- void TEVThumbScroll( TEHandle te, ControlHandle scrollbar );
- pascal TrackUpDownArrows( ControlHandle theControl, short partCode);
- void ScrollBarClick( ControlHandle scrollbar, Point where );
- void FixScrollBar( ControlHandle scrollbar );
-
- #endif